How to create a dynamic block in terraform resource using a boolean value

welcome to shbcf.ru